\usepackage{array}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
\usepackage{graphicx}

\usepackage{multirow}
\usepackage{pgfplots}
\usepackage{enumitem} 
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\usepackage{cprotect}
\usepackage{subfig}
\counterwithin{figure}{chapter}
\counterwithin{table}{chapter}

